<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/home/js/layui/css/layui.css" />
		<link rel="stylesheet" href="__STATIC__/home/css/admin.css" />
		<script type="text/javascript" src="__STATIC__/home/js/jquery.min.js"></script>
		<script type="text/javascript" src="__STATIC__/home/js/layui/layui.js"></script>
	</head>

	<body class="pd30" data-id="cartIndex">
		<div class="center-nav f20">{$pageData.title}</div>
		<div class="center-tab b-w mall-Settlement-list">
			<table class="table-cen" cellpadding="0" cellspacing="0">
				<colgroup>
					<col style="width: 300px;" />
					<col style="width: auto;" />
					<col style="width: 120px;" />
					<col style="width: 120px;" />
					<col style="width: 120px;" />
					<col style="width: 200px;" />
					<col style="width: 120px;" />
					<col style="width: 120px;" />
					<col style="width: 120px;" />
				</colgroup>
				<thead>
					<tr>
						<th>
							<div>图片</div>
						</th>
						<th>
							<div>名称</div>
						</th>
						<th>
							<div>颜色</div>
						</th>
						<th>
							<div>尺寸</div>
						</th>
						<th>
							<div>售价</div>
						</th>
						<th>
							<div>数量</div>
						</th>
						<th>
							<div>币种</div>
						</th>
						<th>
							<div>积分抵扣</div>
						</th>
						<th>
							<div>操作</div>
						</th>

					</tr>
				</thead>
				<tbody>

				</tbody>
			</table>

			<div class="mall-form">
				<form class="layui-form">
					<ul class="clearfix">
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">收货地址</label>
								<div class="layui-input-inline">
									<select id="addressTitle" name="aid">

									</select>
								</div>
								<div class="layui-input-inline" style="width: 70px;">
									<input type="button" class="layui-btn layui-btn-danger" value="添加">
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">安全密码</label>
								<div class="layui-input-inline">
									<input type="password" class="layui-input" name="paypwd" />
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">验证码</label>
								<div class="layui-input-inline">
									<input type="password" class="layui-input" name="captcha" />
								</div>
								<div class="layui-input-inline" id="Verify" onclick="refreshVerify()">
									{:captcha_img()}
								</div>
							</div>
						</li>
					</ul>
					<div class="mall-for-z">
						<!--<p>总金额：30000.00元（积分抵扣：3000.00 含运费：0）</p>-->
						<span><input type="button" lay-submit="submit" lay-filter="cartIndexSubmit" class="layui-btn layui-bg-orange" value="提交并结算"></span>
					</div>
				</form>
			</div>

			<!--<form action="{:url('order.handle/getOrder')}" method="post" accept-charset="utf-8">
			<table class="table-cen" cellpadding="0" cellspacing="0">
				<tbody>

				</tbody>
			</table>
			<table>
				<tbody>
					<tr>
						<td><input type="password" name="paypwd" value="" placeholder="请输入交易密码" /></td>
					</tr>
					<tr>
						<td><input type="submit" value="提交" /></td>
					</tr>
				</tbody>
			</table>
		</form>-->
		</div>
		<script type="text/javascript">
			$(function() {
				getDatas();
			});

			function getDatas() {
				$.ajax({
					'type': 'post',
					'dataType': 'json',
					'data': '',
					'url': "{:url('cart.api/cart')}",
					'success': function(data) {
						var html = '';
						$(".paging").html(data.page_html)
					}
				})
			}
		</script>
		<script>
			//购物车列表
			var cartSrc = "{:url('cart.api/cart')}";
			//收货地址
			var addressTitleSrc = "{:url('address.api/addressTitle')}";
			//添加商品
			var addcartlistSrc="{:url('cart.handle/addcartlist')}";
			//结算
			var getOrderSrc="{:url('order.handle/getOrder')}";
		</script>
		<script type="text/javascript" src="__STATIC__/home/js/public.js"></script>
	</body>

</html>